// 获取城市数据
import request from '@/utils/request'

// 查询高德城市对照列表
export function cityList(data) {
  return request({
    url: '/city/list',
    method: 'GET',
    data
  })
}

// 获取高德城市对照
export function getCity(id) {
  return request({
    url: '/city/' + id,
    method: 'GET'
  })
}

// 省市树形下拉
export function cityTree(id) {
  return request({
    url: '/city/cityTree',
    method: 'GET'
  })
}
